package com.qinglian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qinglian.entity.User;
import com.qinglian.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author augn
 * @since 2023-04-14
 */
public interface IUserService extends IService<User> {

    Result<?> register(String account, String password, Integer code);
    Result<?> login(String account, String password);
    Result<?> update(User user);
    Result<?> getUserByAccount(Integer userId);
}
